import java.util.Arrays;

public class ArrayRevise {

    public static void main(String[] args) {
        int[] arry = {1, 2, 3};
        System.out.println(Arrays.toString(arry));
        Multiplybytwo(arry);

    }

    public static void Multiplybytwo(int[] arry) {
        for (int i = 0; i < arry.length; i++) {
            arry[i] = arry[i] * 2;

        }
        System.out.println(Arrays.toString(arry));
    }



}